package com.doone.telmarket.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.doone.telmarket.domain.Activity;
import com.doone.telmarket.infrastructure.dao.ActivityDAO;

/**
 * @package com.doone.telmarket.service
 * @author 甘雨波
 * @description 精彩促销推荐接口实现
 * @date 2009-10-26
 */
@Service("activityOperation")
public class ActivityOperationImpl implements ActivityOperation {

	@Autowired
	private ActivityDAO activityDAO;
	
	public List<Activity> selectActivity() {
		// TODO Auto-generated method stub
		return activityDAO.selectActivity();
	}

	public void updateActivity(Activity activity) {
		activityDAO.updateActivity(activity);
	}

}
